package cn.istartfinancial.entity.base;

import lombok.Data;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author: Nzp
 * @date: 2018/8/23
 * @description: 当前用户
 */
@Data
public class CurrentUser implements Serializable
{
    private static final long serialVersionUID = 1L;
    private String id;
    private String username;
    private String password;
    private Integer age;
    private String email;
    private String photo;
    private String realName;
    private String createBy;
    private String updateBy;
    private Date createDate;
    private Date updateDate;
    private Byte delFlag;
    private List<CurrentMenu> currentMenuList;
    private List<CurrentRole> currentRoleList;

    public CurrentUser(String id, String username, Integer age, String email, String photo,
                       String realName)
    {
        this.id = id;
        this.username = username;
        this.age = age;
        this.email = email;
        this.photo = photo;
        this.realName = realName;
    }

    public CurrentUser()
    {
    }
}